package com.mycom.pojo;

import java.util.List;

public class WorkType {
    private Integer id;
    private Integer departmentId;
    private String workType;
    private List<Item> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType;
    }

    public List<Item> getChildren() {
        return children;
    }

    public void setChildren(List<Item> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "WorkType{" +
                "id=" + id +
                ", departmentId=" + departmentId +
                ", workType='" + workType + '\'' +
                ", children=" + children +
                '}';
    }
}
